package com.ruoyi.tzzl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.tzzl.domain.WzMessageLogging;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 消息通知记录Service接口
 * @author by caoyong
 * @date 2022/12/10
 **/
public interface  IWzMessageLoggingService extends IService<WzMessageLogging> {


    /**刷新消息记录*/
    boolean addMessageRecord(WzMessageLogging wzMessageLogging);

    /**查询用户消息记录*/
    List<WzMessageLogging> getMessageRecord(Long id);

    /**查看新消息记录数*/
    int newMessage(Long id);

}
